#!../../jsrun


(function() {
	var t0 = +new Date, x = 0;	
	for (var i = 0; i < 10000000; ++i)
		x = (x + i) % 987;
	print('x=' + x);
	var t = (+new Date) - t0;
	print('Execution time: ' + t + ' ms.');
})();

